package com.haohan.jingyuan.config.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * JWT配置属性
 */
@Data
@Component
@ConfigurationProperties(prefix = "jwt")
public class JwtProperties {

    /**
     * JWT请求头名称
     */
    private String authorization = "X-Authorization";
    private String userid = "X-Userid";
    private String username = "X-Username";
}